package com.ftg.learn.assess.client;

import com.ftg.learn.assess.vo.CourseVo;
import com.ftg.learn.common.result.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("hiit-course")
public interface CourseClient {
    @GetMapping("/course")
    Result<CourseVo> getOne(@RequestParam("id") Long CourseId);
}
